package com.msb.apipassenger.service;

import com.msb.apipassenger.feign.ServiceOrderClient;
import com.msb.commons.dto.OrderDTO;
import com.msb.commons.response.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: chshh
 * @version: 1.0
 */
@Service
public class OrderService {

    @Autowired
    private ServiceOrderClient serviceOrderClient;

    public ResponseResult add(OrderDTO orderDTO){
        return serviceOrderClient.add(orderDTO);
    }
}
